import java.io.File;

public class IODemo8 {
    public static void main(String[] args) {
        File file = new File("./aaa/111");
        if(file.canRead()){
            System.out.println("文件可读！");
        }else{
            System.out.println("文件不可读！");
        }
    }
}
